home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
djgpp
/
diffs
/
diffuti2.6
/
configur.bat
next >
Wrap
DOS Batch File
|
1994-08-05
|
784b
|
27 lines
*** orig/diffuti2.6/configur.bat Sun Jan 23 21:34:38 1994
--- src/diffuti2.6/configur.bat Sun Jan 23 22:15:18 1994
***************
*** 0 ****
--- 1,21 ----
+ @echo off
+ echo Configuring diffutils for go32
+ rem This batch file assumes a unix-type "sed" program
+
+ update djgpp.cfg config.h
+
+ echo # Makefile generated by "configure.bat"> Makefile
+
+ if exist config.sed del config.sed
+
+ echo "s/@CC@/gcc/ ">> config.sed
+ echo "s/@srcdir@/./ ">> config.sed
+ echo "s/@LIBS@// ">> config.sed
+ echo "s/@ALLOCA@// ">> config.sed
+
+ sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
+ sed -f config2.sed Makefile.in >> Makefile.2
+ update Makefile.2 Makefile
+ del Makefile.2
+ del config.sed
+ del config2.sed